<!DOCTYPE html>
<html lang="en" xmlns:th="http://thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        table{
            margin: auto;
            text-align: center;
        }
    </style>
</head>
<body>
<form method="post" th:action="@{ulselect}">
    <table border="1">
        <tr>
            <td>登录ID</td>
            <td>登录账号</td>
            <td>登录密码</td>
            <td colspan="3"><a th:href="@{/u/a}">添加</a></td>
        </tr>
        <tr th:each="u:${uls}">
            <td th:text="${u.user_id}"></td>
            <td th:text="${u.login_name}"></td>
            <td th:text="${u.login_paw}"></td>
            <td><a th:href="@{'./xg?user_id='${u.user_id}}">修改</a></td>
            <td><a th:href="@{'./delete?user_id='${u.user_id}}">删除</a></td>
            <td><a th:href="@{sz}">设置</a></td>
        </tr>
    </table>
</form>
</body>
</html>